import request from "@/utils/request";
/**
 * 根据id获取场馆信息
 * @returns {*}
 */

// 培训详情
export function trainAddList(params) {
  return request({
    url: "/systemj/information/trainInformation",
    method: "get",
    params,
  });
}

// 新增培训
export function trainAdd(data) {
  return request({
    url: "/systemj/information/addEssential",
    method: "post",
    data,
  });
}

// 修改培训
export function trainAddUpdate(data) {
  return request({
    url: "/systemj/information/updateEssential",
    method: "PUT",
    data,
  });
}
